Skip to content

Computing crate_hash from metadata encoding instead of HIR (implements #94878) (very draft)#154724

Draft
Daniel-B-Smith wants to merge 3 commits intorust-lang:mainfrom
Daniel-B-Smith:smithdb3/fix-94878
Draft

Computing crate_hash from metadata encoding instead of HIR (implements #94878) (very draft)#154724
Daniel-B-Smith wants to merge 3 commits intorust-lang:mainfrom
Daniel-B-Smith:smithdb3/fix-94878

Conversation

@Daniel-B-Smith
Copy link
Copy Markdown
Contributor

@Daniel-B-Smith Daniel-B-Smith commented Apr 2, 2026

View all comments

Adds a parallel process of hashing along with the metadata encoding. It does add metadata encoding in a few places to ensure that the hash was available. Currently, the metadata encoding always generates both the metadata and the hash even if only one is needed.

Known issue: one test failure due to #137108 (pre-existing repr(simd) projection bug. The new metadata pass trips some MIR validation. This will need to catch the issue earlier.

Local profiling on laptop shows roughly neutral (~0.5%), requesting CI perf run for precise measurement

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 2, 2026
@rust-log-analyzer

This comment has been minimized.

@Daniel-B-Smith Daniel-B-Smith force-pushed the smithdb3/fix-94878 branch 5 times, most recently from 24c04d5 to c826667 Compare April 7, 2026 15:59
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@Daniel-B-Smith Daniel-B-Smith force-pushed the smithdb3/fix-94878 branch 2 times, most recently from 43a7704 to 338aba3 Compare April 8, 2026 19:34
@rust-log-analyzer

This comment has been minimized.

@Daniel-B-Smith Daniel-B-Smith force-pushed the smithdb3/fix-94878 branch 2 times, most recently from 0ddcd96 to d27cca5 Compare April 8, 2026 21:34
@rust-log-analyzer

This comment has been minimized.

@Daniel-B-Smith Daniel-B-Smith force-pushed the smithdb3/fix-94878 branch 3 times, most recently from 1e5f269 to 4171895 Compare April 9, 2026 14:56
@rust-log-analyzer

This comment has been minimized.

@rust-bors

This comment has been minimized.

@Daniel-B-Smith Daniel-B-Smith changed the title #94878 Computing crate_hash from metadata encoding instead of HIR (implements #94878) (very draft) Apr 9, 2026
@nnethercote
Copy link
Copy Markdown
Contributor

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rust-bors

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Apr 9, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@nnethercote
Copy link
Copy Markdown
Contributor

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Apr 11, 2026
Computing crate_hash from metadata encoding instead of HIR (implements #94878) (very draft)
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 11, 2026

☀️ Try build successful (CI)
Build commit: 78660b1 (78660b17cc996b4e0aef52dab0411773908ab93e, parent: 02c7f9bec0fd583160f8bcccb830216023b07bee)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (78660b1): comparison URL.

Overall result: ❌✅ regressions and improvements - please read:

Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf.

Next, please: If you can, justify the regressions found in this try perf run in writing along with @rustbot label: +perf-regression-triaged. If not, fix the regressions and do another perf run. Neutral or positive results will clear the label automatically.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
1.4% [0.3%, 9.7%] 127
Regressions ❌
(secondary)
7.7% [0.2%, 196.7%] 119
Improvements ✅
(primary)
-0.6% [-5.2%, -0.2%] 27
Improvements ✅
(secondary)
-0.7% [-2.0%, -0.3%] 20
All ❌✅ (primary) 1.1% [-5.2%, 9.7%] 154

Max RSS (memory usage)

Results (primary 3.2%, secondary 19.7%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
3.7% [1.5%, 8.2%] 12
Regressions ❌
(secondary)
23.1% [2.4%, 119.7%] 15
Improvements ✅
(primary)
-3.7% [-3.7%, -3.7%] 1
Improvements ✅
(secondary)
-5.2% [-5.4%, -4.9%] 2
All ❌✅ (primary) 3.2% [-3.7%, 8.2%] 13

Cycles

Results (primary 5.0%, secondary 28.4%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
5.8% [1.5%, 12.5%] 14
Regressions ❌
(secondary)
29.7% [2.5%, 197.4%] 25
Improvements ✅
(primary)
-6.7% [-6.7%, -6.7%] 1
Improvements ✅
(secondary)
-3.0% [-3.0%, -3.0%] 1
All ❌✅ (primary) 5.0% [-6.7%, 12.5%] 15

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 491.759s -> 491.424s (-0.07%)
Artifact size: 394.19 MiB -> 394.26 MiB (0.02%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Apr 11, 2026
@rust-bors

This comment has been minimized.

@rustbot rustbot added the A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) label Apr 13, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer
Copy link
Copy Markdown
Collaborator

The job aarch64-gnu-llvm-21-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
##[endgroup]
Executing "/scripts/stage_2_test_set1.sh"
+ /scripts/stage_2_test_set1.sh
+ '[' 1 == 1 ']'
+ echo 'PR_CI_JOB set; skipping tidy'
+ SKIP_TIDY='--skip tidy'
+ ../x.py --stage 2 test --skip tidy --skip compiler --skip src
PR_CI_JOB set; skipping tidy
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.04s
##[endgroup]
---
---- [run-make] tests/run-make/emit-path-unhashed stdout ----

error: rmake recipe failed to complete
status: exit status: 101
command: cd "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out" && env -u RUSTFLAGS -u __STD_REMAP_DEBUGINFO_ENABLED AR="ar" BUILD_ROOT="/checkout/obj/build/aarch64-unknown-linux-gnu" CC="cc" CC_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC" CXX="c++" CXX_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC" HOST_RUSTC_DYLIB_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib" LD_LIBRARY_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/bootstrap-tools/aarch64-unknown-linux-gnu/release/deps:/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" LD_LIB_PATH_ENVVAR="LD_LIBRARY_PATH" LLVM_BIN_DIR="/usr/lib/llvm-21/bin" LLVM_COMPONENTS="aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils aggressiveinstcombine all all-targets amdgpu amdgpuasmparser amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgputargetmca amdgpuutils analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cfguard cgdata codegen codegentypes core coroutines coverage debuginfobtf debuginfocodeview debuginfodwarf debuginfodwarflowlevel debuginfogsym debuginfologicalview debuginfomsf debuginfopdb demangle dlltooldriver dwarfcfichecker dwarflinker dwarflinkerclassic dwarflinkerparallel dwp engine executionengine extensions filecheck frontendatomic frontenddirective frontenddriver frontendhlsl frontendoffloading frontendopenacc frontendopenmp fuzzercli fuzzmutate globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo hipstdpar instcombine instrumentation interfacestub interpreter ipo irprinter irreader jitlink lanai lanaiasmparser lanaicodegen lanaidesc lanaidisassembler lanaiinfo libdriver lineeditor linker loongarch loongarchasmparser loongarchcodegen loongarchdesc loongarchdisassembler loongarchinfo lto m68k m68kasmparser m68kcodegen m68kdesc m68kdisassembler m68kinfo mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts objcopy object objectyaml option orcdebugging orcjit orcshared orctargetprocess passes perfjitevents powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvtargetmca runtimedyld sandboxir scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo spirv spirvanalysis spirvcodegen spirvdesc spirvinfo support symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target targetparser telemetry textapi textapibinaryreader transformutils ve veasmparser vecodegen vectorize vedesc vedisassembler veinfo webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo webassemblyutils windowsdriver windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86targetmca xcore xcorecodegen xcoredesc xcoredisassembler xcoreinfo xray xtensa xtensaasmparser xtensacodegen xtensadesc xtensadisassembler xtensainfo" LLVM_FILECHECK="/usr/lib/llvm-21/bin/FileCheck" NODE="/usr/bin/node" PYTHON="/usr/bin/python3" RUSTC="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" RUSTDOC="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustdoc" SOURCE_ROOT="/checkout" TARGET="aarch64-unknown-linux-gnu" TARGET_EXE_DYLIB_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib/rustlib/aarch64-unknown-linux-gnu/lib" __BOOTSTRAP_JOBS="4" __RMAKE_VERBOSE_SUBPROCESS_OUTPUT="1" __RUSTC_DEBUG_ASSERTIONS_ENABLED="1" __STD_DEBUG_ASSERTIONS_ENABLED="1" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake"
stdout: none
--- stderr -------------------------------
LD_LIBRARY_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out:/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/aarch64-unknown-linux-gnu/bootstrap-tools/aarch64-unknown-linux-gnu/release/deps:/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out" "--emit=link" "foo.rs" "--target=aarch64-unknown-linux-gnu"
output status: `exit status: 0`
=== STDOUT ===



=== STDERR ===



LD_LIBRARY_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out:/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/aarch64-unknown-linux-gnu/bootstrap-tools/aarch64-unknown-linux-gnu/release/deps:/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out" "--emit=link" "-o" "emit/a/libfoo.rlib" "foo.rs" "--target=aarch64-unknown-linux-gnu"
output status: `exit status: 0`
=== STDOUT ===



=== STDERR ===



LD_LIBRARY_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out:/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/aarch64-unknown-linux-gnu/bootstrap-tools/aarch64-unknown-linux-gnu/release/deps:/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out" "--emit=link=emit/b/libfoo.rlib" "foo.rs" "--target=aarch64-unknown-linux-gnu"
output status: `exit status: 0`
=== STDOUT ===



=== STDERR ===



LD_LIBRARY_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out:/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/aarch64-unknown-linux-gnu/bootstrap-tools/aarch64-unknown-linux-gnu/release/deps:/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out" "--emit=link=emit/c/libfoo.rlib,metadata" "foo.rs" "--target=aarch64-unknown-linux-gnu"
output status: `exit status: 0`
=== STDOUT ===



=== STDERR ===



LD_LIBRARY_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out:/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/aarch64-unknown-linux-gnu/bootstrap-tools/aarch64-unknown-linux-gnu/release/deps:/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out" "-Zls=root" "libfoo.rlib" "--target=aarch64-unknown-linux-gnu"
output status: `exit status: 0`
=== STDOUT ===
Crate info:
name foo
hash 7a515a7eaa4600769ddbc4521d14e363 stable_crate_id StableCrateId(6621804853207934875)
proc_macro false
triple aarch64-unknown-linux-gnu
edition 2015
symbol_mangling_version V0
required_panic_strategy None panic_in_drop_strategy Unwind
has_global_allocator false has_alloc_error_handler false has_panic_handler false has_default_lib_allocator false
compiler_builtins false needs_allocator false needs_panic_runtime false no_builtins false panic_runtime false profiler_runtime false
=External Dependencies=
1 std-7d500cb2a643ceb4 hash 13fe786a080d549f184543839ff0871a host_hash None kind Unconditional public
2 core-d0da5e896d22233a hash 20441b4af9d48ec989874f848c074ebd host_hash None kind Unconditional public
3 alloc-ec364f4324e0e2c0 hash aa48589f4244c809918224a0a7fa1a45 host_hash None kind Unconditional public
4 compiler_builtins-7158e455236b57b4 hash 9100f8c14c07a2c8ff490f5e64302e82 host_hash None kind Unconditional private
5 libc-4ff56c5e1fc9804b hash eeb9732a72a70452d43568531765407a host_hash None kind Unconditional public
6 rustc_std_workspace_core-4bda964ee4240e24 hash 798971b350663652cf43d555e13dc147 host_hash None kind Unconditional public
7 unwind-52198dc53f03d037 hash 443a39a902d9d13fe2c6d2b48a7c6997 host_hash None kind Unconditional private
8 miniz_oxide-0c148762619c4b9a hash 6c57d94ae827e1d7c01bf7878cae5c68 host_hash None kind Unconditional private
9 adler2-8823b34888bde4a1 hash c51597913d4e9a804f5d2b58252a593b host_hash None kind Unconditional private
10 hashbrown-e6f43c861edb6008 hash e17dcc1468f6a1ce4c883f2a01fc9dfa host_hash None kind Unconditional private
11 rustc_std_workspace_alloc-54070b04ccbe2076 hash 17b4b08eecdf8c3bbcb49d5ef1f26045 host_hash None kind Unconditional public
12 std_detect-6ff4adfd5691f819 hash f7d007f0b92d7554cd29428e5725a693 host_hash None kind Unconditional public
13 rustc_demangle-d40d89f754de92b1 hash f370a12b6665339e777113288e9869e5 host_hash None kind Unconditional private
14 cfg_if-c2085d7bb9dbe2cb hash fb1a1bd098edee1b3e581f9d968c4e50 host_hash None kind Unconditional private
15 addr2line-2e800a19f1eba1f7 hash 9d03d741806cc20125e72b0ed81d2f7e host_hash None kind Unconditional private
16 gimli-0045b0fd5eaccf4f hash 60981ef4a88ca1c457fdb629cc90bd11 host_hash None kind Unconditional private
17 object-315eb450ec779124 hash 30d54bdb7ff6fb221a7bbf3da119cc55 host_hash None kind Unconditional private
18 memchr-f9978857dbac315d hash 79bb7978e2255e693ae6d8168d58a154 host_hash None kind Unconditional private
19 panic_unwind-89b8185cda45c940 hash a240351174c55fbe78076c41cf4d826a host_hash None kind Conditional private





=== STDERR ===



LD_LIBRARY_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out:/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/aarch64-unknown-linux-gnu/bootstrap-tools/aarch64-unknown-linux-gnu/release/deps:/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out" "-Zls=root" "emit/a/libfoo.rlib" "--target=aarch64-unknown-linux-gnu"
output status: `exit status: 0`
=== STDOUT ===
Crate info:
name foo
hash 7a515a7eaa4600769ddbc4521d14e363 stable_crate_id StableCrateId(6621804853207934875)
proc_macro false
triple aarch64-unknown-linux-gnu
edition 2015
symbol_mangling_version V0
required_panic_strategy None panic_in_drop_strategy Unwind
has_global_allocator false has_alloc_error_handler false has_panic_handler false has_default_lib_allocator false
compiler_builtins false needs_allocator false needs_panic_runtime false no_builtins false panic_runtime false profiler_runtime false
=External Dependencies=
1 std-7d500cb2a643ceb4 hash 13fe786a080d549f184543839ff0871a host_hash None kind Unconditional public
2 core-d0da5e896d22233a hash 20441b4af9d48ec989874f848c074ebd host_hash None kind Unconditional public
3 alloc-ec364f4324e0e2c0 hash aa48589f4244c809918224a0a7fa1a45 host_hash None kind Unconditional public
4 compiler_builtins-7158e455236b57b4 hash 9100f8c14c07a2c8ff490f5e64302e82 host_hash None kind Unconditional private
5 libc-4ff56c5e1fc9804b hash eeb9732a72a70452d43568531765407a host_hash None kind Unconditional public
6 rustc_std_workspace_core-4bda964ee4240e24 hash 798971b350663652cf43d555e13dc147 host_hash None kind Unconditional public
7 unwind-52198dc53f03d037 hash 443a39a902d9d13fe2c6d2b48a7c6997 host_hash None kind Unconditional private
8 miniz_oxide-0c148762619c4b9a hash 6c57d94ae827e1d7c01bf7878cae5c68 host_hash None kind Unconditional private
9 adler2-8823b34888bde4a1 hash c51597913d4e9a804f5d2b58252a593b host_hash None kind Unconditional private
10 hashbrown-e6f43c861edb6008 hash e17dcc1468f6a1ce4c883f2a01fc9dfa host_hash None kind Unconditional private
11 rustc_std_workspace_alloc-54070b04ccbe2076 hash 17b4b08eecdf8c3bbcb49d5ef1f26045 host_hash None kind Unconditional public
12 std_detect-6ff4adfd5691f819 hash f7d007f0b92d7554cd29428e5725a693 host_hash None kind Unconditional public
13 rustc_demangle-d40d89f754de92b1 hash f370a12b6665339e777113288e9869e5 host_hash None kind Unconditional private
14 cfg_if-c2085d7bb9dbe2cb hash fb1a1bd098edee1b3e581f9d968c4e50 host_hash None kind Unconditional private
15 addr2line-2e800a19f1eba1f7 hash 9d03d741806cc20125e72b0ed81d2f7e host_hash None kind Unconditional private
16 gimli-0045b0fd5eaccf4f hash 60981ef4a88ca1c457fdb629cc90bd11 host_hash None kind Unconditional private
17 object-315eb450ec779124 hash 30d54bdb7ff6fb221a7bbf3da119cc55 host_hash None kind Unconditional private
18 memchr-f9978857dbac315d hash 79bb7978e2255e693ae6d8168d58a154 host_hash None kind Unconditional private
19 panic_unwind-89b8185cda45c940 hash a240351174c55fbe78076c41cf4d826a host_hash None kind Conditional private





=== STDERR ===



LD_LIBRARY_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out:/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/aarch64-unknown-linux-gnu/bootstrap-tools/aarch64-unknown-linux-gnu/release/deps:/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out" "-Zls=root" "emit/b/libfoo.rlib" "--target=aarch64-unknown-linux-gnu"
output status: `exit status: 0`
=== STDOUT ===
Crate info:
name foo
hash 7a515a7eaa4600769ddbc4521d14e363 stable_crate_id StableCrateId(6621804853207934875)
proc_macro false
triple aarch64-unknown-linux-gnu
edition 2015
symbol_mangling_version V0
required_panic_strategy None panic_in_drop_strategy Unwind
has_global_allocator false has_alloc_error_handler false has_panic_handler false has_default_lib_allocator false
compiler_builtins false needs_allocator false needs_panic_runtime false no_builtins false panic_runtime false profiler_runtime false
=External Dependencies=
1 std-7d500cb2a643ceb4 hash 13fe786a080d549f184543839ff0871a host_hash None kind Unconditional public
2 core-d0da5e896d22233a hash 20441b4af9d48ec989874f848c074ebd host_hash None kind Unconditional public
3 alloc-ec364f4324e0e2c0 hash aa48589f4244c809918224a0a7fa1a45 host_hash None kind Unconditional public
4 compiler_builtins-7158e455236b57b4 hash 9100f8c14c07a2c8ff490f5e64302e82 host_hash None kind Unconditional private
5 libc-4ff56c5e1fc9804b hash eeb9732a72a70452d43568531765407a host_hash None kind Unconditional public
6 rustc_std_workspace_core-4bda964ee4240e24 hash 798971b350663652cf43d555e13dc147 host_hash None kind Unconditional public
7 unwind-52198dc53f03d037 hash 443a39a902d9d13fe2c6d2b48a7c6997 host_hash None kind Unconditional private
8 miniz_oxide-0c148762619c4b9a hash 6c57d94ae827e1d7c01bf7878cae5c68 host_hash None kind Unconditional private
9 adler2-8823b34888bde4a1 hash c51597913d4e9a804f5d2b58252a593b host_hash None kind Unconditional private
10 hashbrown-e6f43c861edb6008 hash e17dcc1468f6a1ce4c883f2a01fc9dfa host_hash None kind Unconditional private
11 rustc_std_workspace_alloc-54070b04ccbe2076 hash 17b4b08eecdf8c3bbcb49d5ef1f26045 host_hash None kind Unconditional public
12 std_detect-6ff4adfd5691f819 hash f7d007f0b92d7554cd29428e5725a693 host_hash None kind Unconditional public
13 rustc_demangle-d40d89f754de92b1 hash f370a12b6665339e777113288e9869e5 host_hash None kind Unconditional private
14 cfg_if-c2085d7bb9dbe2cb hash fb1a1bd098edee1b3e581f9d968c4e50 host_hash None kind Unconditional private
15 addr2line-2e800a19f1eba1f7 hash 9d03d741806cc20125e72b0ed81d2f7e host_hash None kind Unconditional private
16 gimli-0045b0fd5eaccf4f hash 60981ef4a88ca1c457fdb629cc90bd11 host_hash None kind Unconditional private
17 object-315eb450ec779124 hash 30d54bdb7ff6fb221a7bbf3da119cc55 host_hash None kind Unconditional private
18 memchr-f9978857dbac315d hash 79bb7978e2255e693ae6d8168d58a154 host_hash None kind Unconditional private
19 panic_unwind-89b8185cda45c940 hash a240351174c55fbe78076c41cf4d826a host_hash None kind Conditional private





=== STDERR ===



LD_LIBRARY_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out:/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/aarch64-unknown-linux-gnu/bootstrap-tools/aarch64-unknown-linux-gnu/release/deps:/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/emit-path-unhashed/rmake_out" "-Zls=root" "emit/c/libfoo.rlib" "--target=aarch64-unknown-linux-gnu"
output status: `exit status: 0`
=== STDOUT ===
Crate info:
name foo
hash 7a515a7eaa4600769ddbc4521d14e363 stable_crate_id StableCrateId(6621804853207934875)
proc_macro false
triple aarch64-unknown-linux-gnu
edition 2015
symbol_mangling_version V0
required_panic_strategy None panic_in_drop_strategy Unwind
has_global_allocator false has_alloc_error_handler false has_panic_handler false has_default_lib_allocator false
compiler_builtins false needs_allocator false needs_panic_runtime false no_builtins false panic_runtime false profiler_runtime false
=External Dependencies=
1 std-7d500cb2a643ceb4 hash 13fe786a080d549f184543839ff0871a host_hash None kind Unconditional public
2 core-d0da5e896d22233a hash 20441b4af9d48ec989874f848c074ebd host_hash None kind Unconditional public
3 alloc-ec364f4324e0e2c0 hash aa48589f4244c809918224a0a7fa1a45 host_hash None kind Unconditional public
4 compiler_builtins-7158e455236b57b4 hash 9100f8c14c07a2c8ff490f5e64302e82 host_hash None kind Unconditional private
5 libc-4ff56c5e1fc9804b hash eeb9732a72a70452d43568531765407a host_hash None kind Unconditional public
6 rustc_std_workspace_core-4bda964ee4240e24 hash 798971b350663652cf43d555e13dc147 host_hash None kind Unconditional public
7 unwind-52198dc53f03d037 hash 443a39a902d9d13fe2c6d2b48a7c6997 host_hash None kind Unconditional private
8 miniz_oxide-0c148762619c4b9a hash 6c57d94ae827e1d7c01bf7878cae5c68 host_hash None kind Unconditional private
9 adler2-8823b34888bde4a1 hash c51597913d4e9a804f5d2b58252a593b host_hash None kind Unconditional private
10 hashbrown-e6f43c861edb6008 hash e17dcc1468f6a1ce4c883f2a01fc9dfa host_hash None kind Unconditional private
11 rustc_std_workspace_alloc-54070b04ccbe2076 hash 17b4b08eecdf8c3bbcb49d5ef1f26045 host_hash None kind Unconditional public
12 std_detect-6ff4adfd5691f819 hash f7d007f0b92d7554cd29428e5725a693 host_hash None kind Unconditional public
13 rustc_demangle-d40d89f754de92b1 hash f370a12b6665339e777113288e9869e5 host_hash None kind Unconditional private
14 cfg_if-c2085d7bb9dbe2cb hash fb1a1bd098edee1b3e581f9d968c4e50 host_hash None kind Unconditional private
15 addr2line-2e800a19f1eba1f7 hash 9d03d741806cc20125e72b0ed81d2f7e host_hash None kind Unconditional private
16 gimli-0045b0fd5eaccf4f hash 60981ef4a88ca1c457fdb629cc90bd11 host_hash None kind Unconditional private
17 object-315eb450ec779124 hash 30d54bdb7ff6fb221a7bbf3da119cc55 host_hash None kind Unconditional private
18 memchr-f9978857dbac315d hash 79bb7978e2255e693ae6d8168d58a154 host_hash None kind Unconditional private
19 panic_unwind-89b8185cda45c940 hash a240351174c55fbe78076c41cf4d826a host_hash None kind Conditional private





---
   0: __rustc::rust_begin_unwind
             at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:689:5
   1: core::panicking::panic_fmt
             at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panicking.rs:80:14
   2: <run_make_support::diff::Diff>::run_fail
   3: rmake::main
   4: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
------------------------------------------

---- [run-make] tests/run-make/emit-path-unhashed stdout end ----

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) perf-regression Performance regression. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants